<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表格</title>
</head>
<body>
<h3>3行3列的无框表格</h3>
<table>
    <tr>
        <td>100</td>
        <td>200</td>
        <td>300</td>
    </tr>
    <tr>
        <td>100</td>
        <td>200</td>
        <td>300</td>
    </tr>
    <tr>
        <td>100</td>
        <td>200</td>
        <td>300</td>
    </tr>
</table>
<h3>3行3列的有框表格</h3>
<table border="2">
    <tr>
        <td>100</td>
        <td>200</td>
        <td>300</td>
    </tr>
    <tr>
        <td>100</td>
        <td>200</td>
        <td>300</td>
    </tr>
    <tr>
        <td>100</td>
        <td>200</td>
        <td>300</td>
    </tr>
</table>
<h2>练习表格1</h2>
<table>
    <tr>
        <td>数学</td>
        <td>语文</td>
        <td>英语</td>
    </tr>
    <tr>
        <td>400</td>
        <td>500</td>
        <td>600</td>
    </tr>
</table>
<h2>练习表格2</h2>
<table border="2">
    <tr>
        <td> </td>
        <td>X</td>
        <td>Y</td>
        <td>Z</td>
    </tr>
    <tr>
        <td>A</td>
        <td>100</td>
        <td>200</td>
        <td>300</td>
    </tr>
    <tr>
        <td>B</td>
        <td>400</td>
        <td>500</td>
        <td>600</td>
    </tr>
    <tr>
        <td>C</td>
        <td>700</td>
        <td>800</td>
        <td>900</td>
    </tr>
</table>

<hr/>
<table border="2" width="300px">
    <tr>
        <td>姓名</td>
        <td>年龄</td>
        <td>性别</td>
        <td>家乡</td>
    </tr>
    <tr>
        <td>张三</td>
        <td>18</td>
        <td>男</td>
        <td>河南</td>
    </tr>
    <tr>
        <td>李四</td>
        <td>19</td>
        <td>女</td>
        <td>上海</td>
    </tr>
</table>

</body>
</html>